import Vue from 'vue'
import VueRouter from 'vue-router'
// import Home from '../views/Home.vue'
import Index from '../views/Index.vue'
import Notepad from '../views/Notepad.vue'
import Birthday from '../views/Birthday.vue'
import Diary from '../views/Diary.vue'
import LastDay from '../views/LastDay.vue'
import Physiological from '../views/Physiological.vue'
import TimeMachine from '../views/TimeMachine.vue'
import Time from '../views/Time.vue'
import Movie from '../views/Movie.vue'
import Work from '../views/Work.vue'
import Book from '../views/Book.vue'
import ShowClock from '../views/ShowClock.vue'
import Daily from '../views/Daily.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Index',
    component: Index
  },
  {
    path: '/Notepad',
    name: 'Notepad',
    component: Notepad
  },
  {
    path: '/Birthday',
    name: 'Birthday',
    component: Birthday
  },
  {
    path: '/Diary',
    name: 'Diary',
    component: Diary
  },
  {
    path: '/LastDay',
    name: 'LastDay',
    component: LastDay
  },
  {
    path: '/Physiological',
    name: 'Physiological',
    component: Physiological
  },
  {
    path: '/TimeMachine',
    name: 'TimeMachine',
    component: TimeMachine
  },
  {
    path: '/Movie',
    name: 'Movie',
    component: Movie
  },
  {
    path: '/Work',
    name: 'Work',
    component: Work
  },
  {
    path: '/Book',
    name: 'Book',
    component: Book
  },
  {
    path: '/Time',
    name: 'Time',
    component: Time
  },
  {
    path: '/ShowClock',
    name: 'ShowClock',
    component: ShowClock
  },
  {
    path: '/Daily',
    name: 'Daily',
    component: Daily
  },
  // {
    // path: '/about',
    // name: 'About',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    // component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
  // }
]

const router = new VueRouter({
  routes
})

export default router
